﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CarCricketMatchApp
{

    public class MatchCompletEventArgs : EventArgs
    {
        private string data;
        private string team1Score;

        public string Team1Score
        {
            get { return team1Score; }
            set { team1Score = value; }
        }
        private string team2Score;

        public string Team2Score
        {
            get { return team2Score; }
            set { team2Score = value; }
        }
        public string Data
        {
            get { return data; }
            set { data = value; }
        }

        public MatchCompletEventArgs(string data)
        {
            this.data = data;
            this.team1Score = "";
            this.team2Score = "";
        }

        public MatchCompletEventArgs(string data,string team1score,string team2score)
        {
            this.data = data;
            this.team1Score = team1score;
            this.team2Score = team2score;
        }
    }
}
